<%@ Register TagPrefix="ew" Namespace="eWorld.UI" Assembly="eWorld.UI, Version=1.9.0.0, Culture=neutral, PublicKeyToken=24d65337282035f2" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="EditClient.ascx.cs" Inherits="TimeSheet.Protected.View.Model.EditClient" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div class="InputPanel">
	<ew:collapsablepanel id="cpEntity" collapsedtitlestyle-cssclass="CollapseablePanelTitleCollapsed" titlestyle-cssclass="CollapseablePanelTitle" allowsliding="True" allowtitlerowexpandcollapse="True" showlinkorimage="True" collapseimageurl="../../../images/collapse.gif" expandimageurl="../../../images/expand.gif" cssclass="CollapseablePanel" collapsetext="Close" expandtext="Edit/Add Clients" titletext="Add/Edit Clients" runat="server">
<h1>
<asp:label id="lblAddEditTitle" runat="server">Add New Client</asp:label></h1>
<table id="Table1" width="100%">
  <tr>
    <td valign="top" width="30%">Client&nbsp;Name: 
<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" controltovalidate="Name" errormessage="The Client Name is a required field.">*</asp:requiredfieldvalidator></td>
    <td valign="top">
<asp:textbox id="Name" runat="server" cssclass="textbox"></asp:textbox></td></tr>
  <tr>
    <td valign="top" width="30%">Contact Name: </td>
    <td valign="top">
<asp:textbox id="Contact" runat="server" cssclass="textbox"></asp:textbox></td></tr>
  <tr>
    <td valign="top" width="30%">Contact E-Mail: 
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="Email" ErrorMessage="Contact E-mail is not a valid format">*</asp:RegularExpressionValidator></td>
    <td valign="top">
<asp:textbox id="Email" runat="server" cssclass="textbox"></asp:textbox></td></tr>
  <tr>
    <td valign="top" width="30%">Contact Phone: </td>
    <td valign="top">
<asp:textbox id="Phone" runat="server" cssclass="textbox"></asp:textbox></td></tr>
  <tr>
    <td valign="top" width="30%">Active: </td>
    <td 
  valign="top">
<asp:checkbox id="Active" runat="server"></asp:checkbox></td></tr></table>
<div class="okbutton">
<asp:validationsummary id="ValidationSummary1" runat="server" headertext="The following errors must be corrected:"></asp:validationsummary><br>
<asp:button id="btnSave" runat="server" text="Save"></asp:button></div>
	</ew:collapsablepanel>
</div>
